package org.cjlm.vo.comp;

import lombok.Data;
import org.cjlm.vo.SuperVO;

@Data
public class AttributeVO extends SuperVO {
    private String id;
    private String compId;
    private String entityId;
    private String code;
    private String name;
    private String parentCode; // varchar(100)
    private String type; // varchar(100)
    private String dbtype;
    private Integer dblength;
    private Integer dbjd;
    private String docCompId; // char(20)
    private String enmu; // varchar(2000)
    private String isPriKey; // char(1)

    @Override
    public String getTableName() {
        return "meta_attribute";
    }

    @Override
    public String getPrimarykeyName() {
        return "id";
    }

    @Override
    public String getParentName() {
        return "entityId";
    }
}